package com.cheri.keller.controller;

import com.cheri.keller.common.config.EnvironmentConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Aaron Du
 * @version V1.0
 * @date 2020/6/10 18:47
 **/
@RestController
@RequestMapping("/note-admin")
public class HomeController {
    @Autowired
    private EnvironmentConfig environmentConfig;

    @RequestMapping("/env")
    public Object testEnv() {
        return environmentConfig;
    }
}
